/***
 * @Author: 玄绮 shijiahansi@qq.com
 * @Date: 2024-06-08 08:41:59
 * @LastEditors: 玄绮 shijiahansi@qq.com
 * @LastEditTime: 2024-06-08 09:23:49
 * @FilePath: \server\dep\rdhttp\fields\ContentDisposition.h
 * @Description:
 * @
 * @Copyright (c) 2024 by 玄绮, All Rights Reserved.
 */

#include <string>
#if !defined(__CONTENT_DISPOSTION_H__)
#    define __CONTENT_DISPOSTION_H__

namespace rdhttp {

    class ContentDisposition {
    private:
        std::string data;
        std::string m_value;
        std::string m_filename;

    public:
        void pares(std::string_view content);
        std::string value() const;
        std::string filename() const;

    public:
        ContentDisposition(std::string_view content);
        ContentDisposition();
        ~ContentDisposition();
    };
}  // namespace rdhttp

#endif  // __CONTENT_DISPOSTION_H__
